@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="db_sql";
		@ var _key="id";
		@ var _col=[
		@			  {name:"名称", index:"name", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"类型", index:"type", type:"select_123",newline:true,length:8,required:"required"},
		@			  {name:"连接语句", index:"sqlstring", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"检索字段", index:"Search_fields", type:"text",newline:true,length:8},
		@			  {name:"描述", index:"description", type:"text",newline:true,length:8},
		@			  {name:"更新周期", index:"interval", type:"text",newline:true,length:8,required:"required"}			
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}